package com.ouc.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目中的nc相关配置
 *
 * @author Lee
 */
@Component
@ConfigurationProperties(prefix = "nc")
public class NcConfig {
  private String rootDir;

  public void setFactorDir(String factorDir) {
    this.factorDir = factorDir;
  }

  public void setRootDir(String rootDir) {
    this.rootDir = rootDir;
  }

  private String factorDir;

  public String getRootDir() {
    return rootDir;
  }

  public String getFactorDir() {
    return factorDir;
  }
}
